body {
    background-color: black!important;
    margin: 0;
    padding: 0;
    overflow-x: hidden!important;
}
h1 {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 800;
    font-size: 375%;
    line-height: 110%;
    text-align: center;
    color: white;
    width: 100%;
    height: fit-content;
    align-self: center;
}
.centralizar-h1 {
    display: flex;
    align-content: center;
    background-image: url(../img/quem-somos-banner.jpg);
    background-position: center;
    background-size: cover;
    min-height: 543px;
}
.superior, .inferior {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
p, h2, h3 {
    color: white;
}
.motivos-alinhamento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 1em;
}
section {
    margin: 5%;
    display: flex;
    flex-direction: column;
}
.elemento-mobile {
    display: none;
}
.superior img, .inferior img {
    max-width: 505px;
    max-height: 434px;
    width: auto;
    height: auto;
}
.alinhar-img-motivo {
    display: flex;
    align-items: baseline;
    width: fit-content;
}
.alinhar-img-motivo h3 {
    margin-right: 4%;
    font-family: 'Nunito', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 175%;
    width: min-content;
}
.motivos h2, #mercado-container h2, #missao h2, #visao h2, #valores h2 {
    font-family: Nunito;
    font-style: normal;
    font-weight: bold;
    font-size: 175%;
    line-height: 110%;
    margin-top: 0;
}
.motivos p {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 75%;
    line-height: 150%;
    max-width: 20em;
}
#atendimento-img, #guidance-img {
    align-self: end;
}
.superior .motivos {
    margin-left: 6%;
}
.inferior .motivos {
    margin-right: 6%;
}
.superior {
    margin-bottom: 9.7rem;
}
#mercado-container {
    background: #0F2357;
    display: flex;
    padding: 6% 11% 3% 6%;
    min-width: 65%;
}
#mercado-container img {
    max-width: 505px;
    max-height: 434px;
}
#mercado-atuacao {
    width: 80%;
    margin-left: auto;
    margin-right: 3em;
}
#missao-visao-valores {
    margin-left: 0!important;
    margin-right: 0!important;
    display: flex;
    flex-direction: column;
}
#mercado-atuacao p, .titulo-texto p {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 1.2em;
    line-height: 150%;
    letter-spacing: 0.04em;
    margin-right: 13%;
}
.imagem-borda {
    display: flex;
    justify-content: flex-end;
    width: fit-content;
}
#alinhar-motivos-inferior {
    width: fit-content;
    justify-self: center;
}
.alinhar-img-motivo img {
    width: 80px;
}
.pilares {
    background-color: #0F2357;
    display: flex;
    /* margin-bottom: 6%; */
    width: 100%;
    padding: 3em 3em;
    height: fit-content;
}
#admissao, #advisao, #advalores {
    transition: 500ms;
}
.pilares h2 {
    padding-top: 2em;
}
.titulo-texto {
    width: 50%;
    padding: 0 5em;
}
#missao, #valores {
    justify-content: flex-end;
    padding-left: 0!important;
    align-items: center;
}
.pilares img {
    height: 70%;
}
#missao {
    background-color: #132C6C;;
}
#visao {
    background: #1B367E;
    align-items: center;
}
#valores {
    background: #0F2357;
    /* margin-top: 4%; */
}
#admissao {
    margin-right: auto;
    margin-bottom: 3%;
    transition: 500ms;
    /* margin-bottom: -20em; */
}
#advisao {
    width: auto;
    margin-inline-start: auto; 
    display: flex;
    margin-top: 3%;
    margin-bottom: 6%;
    transition: 500ms;
}
#admissao:hover {
    margin-left: -3%;
    transition: 500ms;
}
#advisao:hover {
    margin-right: -4%;
    transition: 500ms;
}
#advalores:hover {
    margin-left: -4%!important;
    transition: 500ms;
}
#missao-visao-valores {
    overflow: hidden;
}
#advisao img {
    margin-left: 3em;
}

#advalores {
    width: auto;
    /* margin-top: -13em; */
    display: flex;
}
#advalores img {
    margin-right: 3em;
}
.imagem-borda {
    border: 2px solid #FF0000;
    box-sizing: border-box; 
    height: fit-content;
    display: flex;
    justify-content: left;
    margin-top: 4em;
}
.borda-inferior-esquerdo {
    margin: -3em -3em 3em 3em;
}
.borda-inferior-direito {
    margin: -3em 3em 3em -3em;
}
.borda-superior-esquerdo {
    margin: 3em -3em -3em 3em;
}
.borda-superior-direito {
    margin: 3em 3em -3em -3em;
}
.alinhar-direita, .alinhar-esquerda {
    width: 70%;
    margin: auto;
}
.alinhar-esquerda {
    margin-left: 0;
    margin-bottom: -2%;
}
.alinhar-direita {
    margin-right: 3em;
    margin-bottom: -6%;
}
#quem-somos-ligacao-cima {
    width: 40em;
    align-self: center;
    margin-top: -13em;
    margin-bottom: -1rem;
}
.motivos .motivos-alinhamento {
    width: 100%;
}
.motivos {
    width: 54%;
}
@media only screen and (min-width: 2100px) {
    .titulo-texto {
        width: 60%;
    }
    .motivos {
        margin-left: 0%;
        width: 60em;
    }
    .motivos p {
        max-width: 40em;
    }
    #quem-somos-ligacao-cima {
        margin-top: -9.9em;
    }
}
@media only screen and (max-width: 1700px) {
    #advalores img, #advisao img, #admissao {
        height: 7em;
    }
    .alinhar-esquerda {
        margin-bottom: -2%;
    }
    #mercado-container img {
        max-width: 390px;
        max-height: 390px;
    }
    .pilares img {
        height: 20em;
    }
}
@media only screen and (max-width: 1400px) {
    #advalores img, #advisao img, #admissao {
        height: 5em;
    }
    .superior img, .inferior img {
        max-width: 405px;
        max-height: 334px;
    }
    .borda-inferior-direito {
        margin: -2em 2em 2em -2em;
    }
    .borda-inferior-esquerdo {
        margin: -2em -2em 2.3em 2em;
    }
    .borda-superior-esquerdo {
        margin: 2em -2em -2em 2em;
    }
    .borda-superior-direito {
        margin: 2em 2em -2em -2em;
    }
    .motivos h2, #mercado-container h2, #missao h2, #visao h2, #valores h2 {
        font-size: 140%;
    }
    .alinhar-img-motivo h3 {
        font-size: 140%;
        margin-bottom: 0;
    }
    .alinhar-img-motivo img {
        width: 75px;
    }
    .motivos p {
        font-size: 80%;
        margin-top: 0;
    }
    #mercado-atuacao p, .titulo-texto p {
        font-size: 100%;
    }
    .pilares h2 {
        padding-top: 1em;
    }
    #mercado-atuacao {
        margin-right: 2em;
    }
    .alinhar-direita {
        margin-right: 2em;
    }    
    #quem-somos-ligacao-cima {
        margin-bottom: -2rem;
    }
    .alinhar-direita, .alinhar-esquerda {
        width: 80%;
    }
}
@media only screen and (max-width: 1050px) {
    #mercado-atuacao {
        width: 95%;
    }
}
@media only screen and (max-width: 1050px) {
    .superior img, .inferior img {
        max-width: 305px;
    }
    .alinhar-img-motivo h3 {
        font-size: 120%;
    }
    .motivos h2, #mercado-container h2, #missao h2, #visao h2, #valores h2 {
        font-size: 130%;
    }
    .alinhar-img-motivo img {
        width: 40px;
    }
    #advalores img, #advisao img, #admissao {
        height: 3em;
    }
    #advalores img {
        margin-right: 1em;
    }
    #advisao img {
        margin-left: 1em;
    }
    .alinhar-esquerda {
        margin-bottom: 2%!important;
    }
    .pilares {
        padding: 2em 2em;
    }    
    .pilares img {
        height: 12em;
    }
    .titulo-texto p {
        margin-right: 0;
    }
    .superior {
        margin-bottom: 5rem;
    }
    #advalores {
        margin-top: -5em!important;
    }
    #mercado-container img {
        max-width: 330px;
        max-height: 330px;
    }
    #quem-somos-ligacao-cima {
        display: none;
    }
}
@media only screen and (max-width: 953px) {
    #quem-somos-ligacao-cima {
        margin-top: -14em;
        margin-bottom: -4rem;
    }
    .imagem-borda {
        margin-top: 5.5em;
    }
}
@media only screen and (max-width: 906px) {

    .superior {
        margin-bottom: 5em;
    }
    .imagem-borda {
        margin-top: 2.5em;
    }
}
@media only screen and (max-width: 890px) {
    #quem-somos-ligacao-cima {
        margin-top: -15.2em;
    }
}
@media only screen and (max-width: 850px) {
    h1 {
        font-size: 340%;
    }
    .superior img, .inferior img {
        max-width: 240px;
        max-height: 240px;
    }
    .alinhar-img-motivo h3 {
        font-size: 110%;
    }
    .motivos h2, #mercado-container h2, #missao h2, #visao h2, #valores h2 {
        font-size: 140%;
    }
    .alinhar-img-motivo img {
        width: 40px;
    }
    .pilares img {
        height: 11em;
    }
    #mercado-atuacao p, .titulo-texto p {
        font-size: 90%;
    }
    .imagem-borda {
        margin-top: 2em;
    }
    .titulo-texto {
        padding: 0 2em;
    }
}
@media only screen and (max-width: 750px) {
    #quem-somos-ligacao-cima {
        display: none;
    }
    .superior {
        margin-bottom: 2.5rem;
    }
}
@media only screen and (max-width: 750px) {
    .centralizar-h1 {
        margin-top: 3em;
        min-height: unset;
    }
    .motivos-alinhamento {
        grid-template-columns: 1fr;
        grid-template-rows: unset;
        column-gap: 1em;
    }
    .superior, .inferior {
        justify-content: center;
        align-items: center;
    }
    .superior {
        flex-direction: column;
    }
    .inferior {
        flex-direction: column-reverse;
        margin-bottom: 2em;
    }
    .superior .motivos, .inferior .motivos {
        margin: 0!important;
        row-gap: 1em;
    }
    .borda-inferior-direito {
        margin: -1em 1em 1em -1em;
    }
    .borda-inferior-esquerdo {
        margin: -1em -1em 1em 1em;
    }
    .borda-superior-esquerdo {
        margin: 1em -1em -1em 1em;
    }
    .borda-superior-direito {
        margin: 1em 1em -1em -1em;
    }
    #mercado-atuacao .imagem-borda, 
    #missao-visao-valores .imagem-borda {
        border: none;
        margin: 0!important;
    }
    #mercado-container, #missao, #visao, #valores {
        margin: 0!important;
        flex-direction: column;
        align-items: center;
    }
    #visao {
        flex-direction: column-reverse;
    }
    #mercado-container {
        padding: 5%;
    }
    #mercado-container p,
    #mercado-container h2 {
        width: 85%;
        margin: auto;
        margin-bottom: 4%;
    }
    section {
        margin: 0;
        width: 100%;
    }
    #mercado-atuacao {
        width: 100%;
    }
    .alinhar-direita, .alinhar-esquerda {
        width: 100%;
    }
    #missao, #valores {
        padding-left: 5%!important;
    }
    #admissao, #advisao .elemento-web, #advalores .elemento-web {
        display: none;
    }
    .elemento-esquerda, .elemento-direita {
        display: block!important;
    }
    .elemento-esquerda {
        width: 100px!important;
        height: 100px!important;
        margin-top: -8em!important;
    }
    .elemento-direita {
        height: 100px;
        right: 0;
        margin-top: -240px;
        margin-right: -80px;
    }
    .elemento-web {
        display: block;
    }
    #advisao img {
        width: 15em;
        height: auto;
        margin-top: -20em;
    }
    #advisao {
        margin: 0!important;
    }
    #advisao, #advalores {
        justify-content: space-between;
    }
    #advalores .elemento-direita {
        height: 100px;
        margin-right: -300px;
        z-index: 1;
    }
    #valores img {
        z-index: 2;
    }
    #advalores .elemento-esquerda {
        width: 200px!important;
        margin-top: -3em!important;
        margin-bottom: -3em!important;
    }
    .motivos h2 {
        margin-top: 1em!important;
    }
    #advalores {
        margin-top: 0em!important;
    }
    .titulo-texto {
        padding: 0 2em;
    }
    .titulo-texto {
        width: 80%;
    }
    .pilares img {
        margin-bottom: 1em;
    }
    .motivos-alinhamento {
        width: 80%;
    }
    .motivos p {
        max-width: 100%;
    }
    .motivos {
        width: 80%;
    }

}
@media only screen and (max-width: 550px) {
    p {
        text-align: justify;
    }
    #mercado-container img {
        max-width: 90%;
        max-height: 38%;
    }
}
@media only screen and (max-width: 450px) {
    h1 {
        font-size: 240%;
    }
}
@media only screen and (max-width: 400px) {
    #mercado-container p, #mercado-container h2 {
        width: 85%;
    }
    #missao, #valores, #visao {
        padding: 0!important;
    }
    #advisao img {
        width: 13em;
        height: auto;
        margin-top: -18em;
    }
    .elemento-esquerda {
        margin-top: -7em!important;
    }
    #advalores .elemento-direita {
        height: 90px;
    }
    #advalores .elemento-esquerda {
        margin-top: -2em!important;
        margin-left: -50px;
    }
    .elemento-direita {
        margin-top: -200px;
    }
    .elemento-esquerda {

        height: 80px!important;
    }
}
@media only screen and (max-width: 320px) {
    h1 {
        font-size: 185%;
    }
    #advisao img {
        width: 12em;
    }
    .elemento-direita {
        margin-right: -120px;
        margin-top: -180px;
    }
    #advalores .elemento-direita {
        height: 85px;
    }
    #advalores .elemento-esquerda {
        margin-left: -90px;
    }
}
@media only screen and (max-width: 280px) {
    .superior img, .inferior img {
        max-width: 172px;
    }
    .superior, .inferior {
        padding: 1em;
    }
    #mercado-container img {
        width: -webkit-fill-available;
    }
    .pilares img {
        height: 10em;
    }
}